home *** CD-ROM | disk | FTP | other *** search
/ Headbone Interactive / Headbone_Interactive_CD-ROM_Sampler_1995.iso / pc / demos / pants / main.dxr / 00162_set up go mode.ls < prev    next >
Encoding:
Text File  |  1995-09-15  |  451 b   |  14 lines

  1. on exitFrame
  2.   global gvCurLetter, gvCurNumber, gvBackgroundSprite, gvTrack
  3.   if soundBusy(1) then
  4.     if gvTrack = 2 then
  5.       set vColorCast to gvCurLetter & gvCurNumber & "color"
  6.       if the castNum of sprite gvBackgroundSprite <> the number of cast vColorCast then
  7.         set the castNum of sprite gvBackgroundSprite to the number of cast vColorCast
  8.         puppetTransition(23, 1, 20, 1)
  9.       end if
  10.     end if
  11.     go(the frame)
  12.   end if
  13. end
  14.